import 'package:example/app/modules/main_module/found_page/view.dart';
import 'package:example/app/modules/main_module/home_page/view.dart';
import 'package:example/app/modules/main_module/mine_page/view.dart';
import 'package:example/app/modules/main_module/qa_page/view.dart';
import 'package:example/app/modules/main_module/square_page/view.dart';
import 'package:flutter/material.dart';
import 'package:flutter_base_framework/flutter_base_framework.dart';

class MainController extends GetxController{

  /// 首页索引
  final _index = 0.obs;
  get index => _index.value;
  set index(val) => _index.value = val;

  List<Widget> pages = [
    HomePage(),
    SquarePage(),
    QaPage(),
    FoundPage(),
    MinePage(),
  ];

  PageController pageController = PageController();

}
